const PREFIX = 'online_teacher_'
const OnlineTeacherActionType = {
  get_teachers: PREFIX + 'get_teachers',
  set_recording_status: PREFIX + 'set_recording_status'
}

const getTeachers = (teachers) => {
  return {
    type: OnlineTeacherActionType.get_teachers,
    teachers: teachers
  }
}
const setRecordingStatus = (tId, isRecording) => {
  return {
    type: OnlineTeacherActionType.set_recording_status,
    tId: tId,
    isRecording: isRecording
  }
}

module.exports = {
  OnlineTeacherActionType,
  getTeachers,
  setRecordingStatus
}
